﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BLL;
public partial class uc_resultsearch : System.Web.UI.UserControl
{
    public static string key = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {        
        if (!IsPostBack)
        {
            if (Request.QueryString["key"] != null)
            {
                key = Request.QueryString["key"].ToString();
                ltSearch.Text = new CmsBLL().RenderSearchProduct(key, "default","",16, 10, 0, "ClientJumpPageSearch", "1");
            }            
        }

    }    
}